package grape.attend.rest.user.mapper;

import grape.attend.service.user.po.UserVacationSum;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.attend.rest.user.form.UserVacationSumCreateForm;
import grape.attend.rest.user.form.UserVacationSumUpdateForm;
import grape.attend.rest.user.form.UserVacationSumListPageForm;
import grape.attend.rest.user.vo.UserVacationSumVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 用户假期余额表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-18
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserVacationSumWebMapper extends WebMapper<UserVacationSumVo, UserVacationSum> {

    UserVacationSum formToPo(UserVacationSumCreateForm f);
    UserVacationSum formToPo(UserVacationSumUpdateForm f);
    UserVacationSum formToPo(UserVacationSumListPageForm f);
}
